php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#202188 - 02/06/04 03:09 PM [6.7] [beta] Category Minimizing
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Modification Name: Category Minimizing

Author(s): Ian Spence, LK

Description: Allows the user to hide and show categories at will, and saves their choices in a cookie

Demo: http://www.alforadmin.com/forums

Requirements: UBB.classic 6.7

Download Link: http://www.ubbdev.com/ubb/upload/00020028/CategoryMinimizing67.zip

Top
#202189 - 02/06/04 03:24 PM Re: [6.7] [beta] Category Minimizing
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Excellent! laugh

Easily one of the best new mods, thanks Ian thumbsup
_________________________
- Allen wavey
- What Drives You?

Top
#202190 - 02/06/04 03:38 PM Re: [6.7] [beta] Category Minimizing
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Don't forget to thank LK. I did the html, hiding part. He did the perl/colors for new posts/the one thing I can describe but most wouldn't understand it thing

Top
#202191 - 02/07/04 05:14 AM Re: [6.7] [beta] Category Minimizing
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Good job! (Al did really most of the job)
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202192 - 02/08/04 11:08 AM Re: [6.7] [beta] Category Minimizing
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Sorry, it's me again!

I can not find the following code at public_forum_summary.pl (file from 6.7 final)

# FIND: #
###########

my $modby = qq~
$vars_wordlets{moderated_by} $Moderator~;
if((($Moderator eq $vars_wordlets{"no_mods"}) && ($vars_display{DisplayModBy} eq "nomods"))
|| ($vars_display{DisplayModBy} eq "no")) {
$modby = "";
} # end if

###############
# ADD AFTER: #
###############

if($ThisHTML =~ m/^.+bulbcolor("(d{7}.d{4})","(d+)");/isg) {
my $whatever = $1;
if ($LastPostJulian > $whatever) {
$ThisHTML =~ s/^(.+)bulbcolor("(d{7}.d{4})","(d+)");/$1 bulbcolor("$LastPostJulian","$3");/isg;
}
}
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#202193 - 02/08/04 11:23 AM Re: [6.7] [beta] Category Minimizing
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
updated

Top
#202194 - 02/26/04 07:01 AM Re: [6.7] [beta] Category Minimizing
Eric Flyxe Offline
Member

Registered: 05/03/01
Posts: 57
Hi there. Must be stupid, but I only get + and no - , no matter if the category is minimized or not.

Top
#202195 - 02/26/04 07:26 AM Re: [6.7] [beta] Category Minimizing
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
can I have a link to your forum, and a login/password if it only allows registered users in?

Top
#202196 - 02/26/04 08:50 AM Re: [6.7] [beta] Category Minimizing
Eric Flyxe Offline
Member

Registered: 05/03/01
Posts: 57
Sure!

It´s in Swedish... smile

Coming by PM right away!

Top
#202197 - 02/26/04 09:17 AM Re: [6.7] [beta] Category Minimizing
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I found the problem, however there seems to be an issue with flareupload right now, so here is the fix itself.

In public_forum_summary.pl, change

Code:
<a href="javascript:void(0);" onclick="hideit('$cat_number' , 'visible');"><span id="shown-$cat_number">
<img src="$vars_config{NonCGIURL}/catexpand.gif" alt="[-]" id="imgshown-$cat_number"  border="0"/></span></a>
to

Code:
<a href="javascript:void(0);" onclick="hideit('$cat_number' , 'visible');"><span id="shown-$cat_number">
<img src="$vars_config{NonCGIURL}/catminimize.gif" alt="[-]" id="imgshown-$cat_number"  border="0"/></span></a>

Top
#202198 - 02/26/04 10:04 AM Re: [6.7] [beta] Category Minimizing
Eric Flyxe Offline
Member

Registered: 05/03/01
Posts: 57
Thanks, it worked!

Top
#202199 - 03/02/04 07:03 PM Re: [6.7] [beta] Category Minimizing
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
Am I missing something? I followed the replace, add after instructions but looks like some of the code I am supposed to search for in the original .pl file is different from the instructions.

I have the latest 6.7.

Top
#202200 - 03/02/04 07:19 PM Re: [6.7] [beta] Category Minimizing
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
please give me examples of what you're having trouble with. All of that code should be in the corresponding files

Top
#202201 - 03/02/04 07:52 PM Re: [6.7] [beta] Category Minimizing
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
sub Normal_Table_Row {
use vars qw($ThisHTML);
# Caution: Relies on lots of local()s

is what you are asking to find.

this is what i actually have.

sub Normal_Table_Row {
# Caution: Relies on lots of local()s
my $Row = qq~

Top
#202202 - 03/09/04 06:38 AM Re: [6.7] [beta] Category Minimizing
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
any update on this?

Top
#202203 - 03/09/04 06:40 AM Re: [6.7] [beta] Category Minimizing
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Young, search for:

Quote:
quote:
# Caution: Relies on lots of local()s
And post the lines above it, it should be below:

Code:
sub Normal_Table_Row {
Give the 5 lines above and below it.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202204 - 03/10/04 05:17 PM Re: [6.7] [beta] Category Minimizing
bryan868 Offline
Member

Registered: 09/18/00
Posts: 273
Wow, this is just a fantastic mod. It should be implemented into the next UBB version.
_________________________
This is the designed behavior.

Top
#202205 - 03/12/04 01:07 PM Re: [6.7] [beta] Category Minimizing
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Updated with fix for the guy who doesn't have a single normal letter in his name

Top
#202206 - 03/14/04 01:41 AM Re: [6.7] [beta] Category Minimizing
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
this bites laugh for some reason I am getting both the - and + gif with one on top of each other and not clickable.

did the mod three times double checking each line for mistakes.

Top
#202207 - 03/14/04 06:32 AM Re: [6.7] [beta] Category Minimizing
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Actually I believe his "g" and "T" are regular tipsy
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
Page 1 of 4 1 2 3 4 >



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks